package com.hirsi.module.developer.vo.param;

import com.hirsi.common.core.validator.annotation.FixedValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("审核开发者入参")
@Data
public class AuditDeveloperParam {

    @ApiModelProperty(value = "开发者id", required = true)
    @NotNull(message = "请选择开发者")
    private Integer id;

    @ApiModelProperty(value = "状态：1-通过，2-驳回", required = true, position = 1)
    @FixedValue(message = "请选择正确的状态", intValues = {1, 2})
    private Integer status;

    @ApiModelProperty(value = "审核回复", position = 2)
    private String reply;
}
